import { ElNotification } from 'element-plus'
import request from '../api/request';

export const ListenMusic = (id: any) => request.get('/song/url?id='+id);



export const alertMessage = (title: string, message: string, type: any = "success")=>{
    ElNotification({
    title: title,
    message: message,
    type: type,
  })
}